package com.jacky.entity;

/**
 * Created by jacky on 2018/1/16.
 */
public class Response<T> {
    private static final long serialVersionUID = 1L;

    /** 结果信息 */
    private T returnObject;
    private boolean success;

    public Response(T returnObject) {
        this.returnObject = returnObject;
    }

    public T getReturnObject() {
        return returnObject;
    }

    public void setReturnObject(T returnObject) {
        this.returnObject = returnObject;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }
}
